package Homework05;

public class Car {
    String brand;
    String color;
    int price;
    int capacity;
    public Car(String brand, String color, int price, int capacity) {
        this.brand = brand;
        this.color = color;
        this.price = price;
        this.capacity = capacity;
    }
    void start()
    {
        System.out.println("Car is starting");
    }
    void run()
    {
        System.out.println("Car is running");
    }
    void stop()
    {
        System.out.println("Car is stopping");
    }
}
